// export const orderFoodList = [
//   { name: "全部餐次", value: "" },
//   { name: "早餐", value: 1 },
//   { name: "午餐", value: 2 },
//   { name: "晚餐", value: 3 },
//   { name: "夜宵", value: 4 },
//   { name: "甜品", value: 5 },
// ];

import { foodReleaseValidType } from "@/api/methods/order";

export const getFoodTypeList = async () => {
  let list = [{ timeTypeName: "全部餐次", timeType: "" }];
  const result = await foodReleaseValidType();
  list = [...list, ...result];
  console.log(list);
  return list;
};
